package com.web44.ssm.service;

import com.github.pagehelper.PageInfo;
import com.web44.ssm.bean.Book;
import com.web44.ssm.bean.QueryVo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @Title: IBookSevice
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2024/1/15 13:40
 */
public interface IBookSevice {


    public void saveBook(Book book);


    public void editBook(Book book);

    public void deleteBookById(Integer id);

    public Book queryBookById(Integer id);


    public List<Book> queryBooks();

    public PageInfo<Book> queryBooksByPage(QueryVo queryVo);
}
